Interrogation and Access

int Length(void)

Returns the length of the list.

int& operator[](int n)

Returns a reference to the nth integer in the list (using zero-based indexing).